package com.sz.common.pay.citic.entity.other;

import lombok.Data;

import javax.xml.bind.annotation.*;
import java.util.List;

/**
 * Created by siqishangshu on 17/10/20.
 *
            响应报文
 <?xml version="1.0" encoding="GBK"?>
 <stream>
 <status></status><!--交易状态 char(7)-->
 <statusText></statusText><!--交易状态信息 varchar(254)-->
 <list name="userDataList">
     <row>
         <cityID></cityID><!--城市代码char(4)-->
         <cityName></cityName><!--城市名称varchar(20)-->
         <cityNameEn></cityNameEn><!--城市英文名称 varchar(20)-->
     </row>
 </list>
 </stream>
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "stream")
@Data
public class CityCodeRes {
    private String status;              //交易状态 char(7)-->
    private String statusText;          //交易状态信息 varchar(254)-->
    @XmlElementWrapper(name = "list")
    @XmlElement(name = "row")
    private List<CityCode> list;        //name="userDataList">
}
